# 将元组中所有元素进行相加
from functools import reduce
def myadd(x, y):
    return x + y


sum = reduce(myadd, (2, 4, 6, 8, 10))
print(sum)
